package com.coocaa.ops.admin.v1.globalparams.biz;

import com.coocaa.ops.common.core.biz.globalparams.entity.GlobalParamsEntity;

import java.util.List;
import java.util.Map;

/**
 * @author : hql
 * @date : 2020/7/15 18:05
 * @description
 */
public interface IGlobalParamsBiz {

    GlobalParamsEntity addGlobalParams(GlobalParamsEntity entity);

    void updateGlobalParams(GlobalParamsEntity entity);

    List<GlobalParamsEntity> getGlobalParamsList(Map params);

    Integer getUsableParamsNum();

    boolean isRemarkExist(String remark, Integer id);
}
